Black hole generator [closed]
Posted
by Timmy O' Tool
on Stack Overflow
See other posts from Stack Overflow
or by Timmy O' Tool
Published on 2010-04-01T17:12:55Z
Indexed on
2010/04/01
17:23 UTC
Read the original article
Hit count: 250
real-world
|april-fools
I have a requirement for developing a black hole generator. They say that this may allow time travel and getting rich... whatever...what do you think it's the best approach for black hole generator
a) Infinite loop
while (1==1) blackHole++;
b) Division by 0
try
{
6/0
}
catch
{
//blackHoleGenerated
}
© Stack Overflow or respective owner